-
-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow selectors in noarch_platforms recipes #1682
Conversation
) | ||
) | ||
if forge_yaml_filename: | ||
with open(forge_yaml_filename[0], "r") as fh: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we check for noarch_platforms
in all existing conda-forge.yml
s, not just the first one we found? Or is it guaranteed that only one exists?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's only one used.
@jaimergp, ping |
I’m still getting the lintong error: conda-forge/spyder-kernels-feedstock#86 (comment) Did I do something wrong? Edit: Is this the reason: #1682 (comment) |
@@ -913,8 +941,10 @@ def is_selector_line(line): | |||
return False | |||
m = sel_pat.match(line) | |||
if m: | |||
m.group(3) | |||
return True | |||
if allow_platforms and m.group(3) in ["win", "linux", "osx", "unix"]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this also be the opposite? Meaning not win etc.?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check #1735
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Checklist
news
entry